package com.sxran.im.handler;

import com.sxran.im.dao.ImChatBodyMapper;
import com.sxran.im.info.ImChatBody;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Slf4j
@Service
public class ChatAfterCmdHandler extends AbstractCmdHandler<ImChatBody>{
    @Resource
    private ImChatBodyMapper imChatBodyMapper;

    @Override
    public Object doBeanService(ImChatBody json) {
        // 存表....
        log.info("这里是消息修饰后的内容,也就是客户端真实收到之后，调用的这个消息={}",json);
        return json;
    }
}
